package com.insigma.yanwenlong.bookkeeping.service;

import java.sql.SQLException;
import java.util.List;

import com.insigma.yanwenlong.bookkeeping.dao.DirectionDao;
import com.insigma.yanwenlong.bookkeeping.dao.DirectionDaoImpl;
import com.insigma.yanwenlong.bookkeeping.pojo.Direction;

public class DirectionServiceImpl implements DirectionService{
	private DirectionDao directionDao = new DirectionDaoImpl();
	@Override
	public List<Direction> findDirections() throws SQLException {
		return directionDao.findDirections();
	}

}
